package com.trailwalker.mediaplayer.service.entity;

/**
 * @author Trailwalker
 * @create 2021-09-02 17:23
 * @des
 */
public class MediaInfo {
    private int id;
    private String name;
    private double totalTime;
    private String url;

    public MediaInfo() {
    }

    public MediaInfo(String url) {
        this.url = url;
    }

    public MediaInfo(String name, String url) {
        this.name = name;
        this.url = url;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getTotalTime() {
        return totalTime;
    }

    public void setTotalTime(double totalTime) {
        this.totalTime = totalTime;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
